Represents settings relating to enforcing requirements when a package reference is added to a PackageStore.
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public class PackageEnforcement |
| Name | Description | |
| Ð | PackageEnforcement | Create a PackageEnforcement to indicate requirements that will be enforced when a package reference is added to PackageStore. |
| Name | Description | |
| Ð | EnforceLrmRequirements | Gets a value indicating whether the package should be modified if it violates LRM format requirements, in order to allow it to be imported. If true, the package should not be modified in order to allow the import. If false, the package import process will attempt to fix issues in the package relating to LRM format requirements in order to facilitate importing the package. In some cases, this may cause problems when the package is executed. |
| Ð | EnforceMlcRequirements | Gets a value indicating whether the package should be modified if it violates Microsoft Learning Components requirements, in order to allow it to be imported. If true, the package should not be modified in order to allow the import. If false, the package import process will attempt to fix issues in the package relating to Microsoft Learning Components requirements in order to facilitate importing the package. In some cases, this may cause problems when the package is executed. |
| Ð | EnforceScormRequirements | Gets a value indicating whether the package should be modified if it violates Scorm requirements, in order to allow it to be imported. If true, the package should not be modified in order to allow the import. If false, the package import process will attempt to fix issues in the package relating to Scorm requirements in order to facilitate importing the package. In some cases, this may cause problems when the package is executed. |